package my.ssma.controller;

import io.swagger.annotations.Api;
import io.swagger.models.auth.In;
import my.ssma.domain.User;

import java.util.List;


@Api(value = "userMapper接口", tags = "UserDao继承BaseMapper,测试MybatisPlus")
public interface UserMapperController {

    List<User> selectList();

    User findById(Integer id);

    List<User> nameLike(String name);

    List<User> greatThen(Integer id);

    // TODO ： Mybatis分页查询
    List<User> pageable(Integer pageNum, Integer pageSize);

    List<User> pageable2(Integer pageNum, Integer pageSize);
}
